using MediatR;

namespace RAG.Domain.Events.User;

public class UserRoleAssignedEvent : INotification
{
    public Guid UserId { get; }
    public string UserName { get; }
    public IEnumerable<Guid> RoleIds { get; }
    public IEnumerable<string> RoleNames { get; }
    public DateTime AssignedAt { get; }

    public UserRoleAssignedEvent(Guid userId, string userName, IEnumerable<Guid> roleIds, IEnumerable<string> roleNames, DateTime assignedAt)
    {
        UserId = userId;
        UserName = userName;
        RoleIds = roleIds;
        RoleNames = roleNames;
        AssignedAt = assignedAt;
    }
} 